package com.cisetech.web.bobocai.qiantai;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.cisetech.service.ResourcesService;
import com.cisetech.vo.bobocai.LResources;
import com.cisetech.vo.bobocai.LUser;


/**
 * 列表控制器
 * @author Administrator
 *
 */
@Controller
@RequestMapping(value="title")
public class TitleController {
	
	@Autowired
	ResourcesService resourcesServiceImpl;
	
	@ResponseBody
	@RequestMapping(value="getList")
	public List<LResources> getList(){
		LUser user = new LUser();
		user.setAround("1");
		user.setDisplay("0");
		List<LResources> list = resourcesServiceImpl.findResourcesList(user);
		return list;
	}
}
